package com.cugmarket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cugmarket.entity.ChatList;
import com.cugmarket.vo.ChatListVo;

import java.util.List;

public interface ChatListService extends IService<ChatList> {

    ChatList create(ChatList chatList);

    List<ChatListVo> getMyChatList();

    int getNoReadTotal();

    ChatList getChatListId(String fromUserId, String toUserId, String productId);

    void deleteChatList(String chatListId);

//    ChatListVo getChatListById(String chatListId);
}
